package com.grass.p019lv.databinding;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import androidx.appcompat.widget.Toolbar;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import androidx.viewpager.widget.ViewPager;
import com.androidsa.bttsddka.R;
import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.tabs.TabLayout;
import com.grass.p019lv.fragment.PiazzaAppointmentFragment;
import com.grass.p019lv.generated.callback.OnClickListener;
import com.youth.banner.Banner;

/* renamed from: com.grass.lv.databinding.FragmentAppointmentPiazzaBindingImpl */
public class FragmentAppointmentPiazzaBindingImpl extends FragmentAppointmentPiazzaBinding implements OnClickListener.Listener {
    private static final ViewDataBinding.IncludedLayouts sIncludes = null;
    private static final SparseIntArray sViewsWithIds;
    private final View.OnClickListener mCallback84;
    private final View.OnClickListener mCallback85;
    private final View.OnClickListener mCallback86;
    private final View.OnClickListener mCallback87;
    private final View.OnClickListener mCallback88;
    private final View.OnClickListener mCallback89;
    private long mDirtyFlags;
    private final RelativeLayout mboundView0;
    private final ImageView mboundView2;
    private final ImageView mboundView3;
    private final ImageView mboundView4;
    private final ImageView mboundView5;
    private final ImageButton mboundView6;

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public boolean onFieldChange(int i, Object obj, int i2) {
        return false;
    }

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        sViewsWithIds = sparseIntArray;
        sparseIntArray.put(R.id.toolbar, 7);
        sViewsWithIds.put(R.id.app_bar, 8);
        sViewsWithIds.put(R.id.banner, 9);
        sViewsWithIds.put(R.id.ll_official, 10);
        sViewsWithIds.put(R.id.tab_layout, 11);
        sViewsWithIds.put(R.id.view_pager, 12);
    }

    public FragmentAppointmentPiazzaBindingImpl(DataBindingComponent dataBindingComponent, View view) {
        this(dataBindingComponent, view, mapBindings(dataBindingComponent, view, 13, sIncludes, sViewsWithIds));
    }

    private FragmentAppointmentPiazzaBindingImpl(DataBindingComponent dataBindingComponent, View view, Object[] objArr) {
        super(dataBindingComponent, view, 0, (AppBarLayout) objArr[8], (Banner) objArr[9], (ImageView) objArr[1], (LinearLayout) objArr[10], (TabLayout) objArr[11], (Toolbar) objArr[7], (ViewPager) objArr[12]);
        this.mDirtyFlags = -1;
        this.imgUserHead.setTag(null);
        RelativeLayout relativeLayout = (RelativeLayout) objArr[0];
        this.mboundView0 = relativeLayout;
        relativeLayout.setTag(null);
        ImageView imageView = (ImageView) objArr[2];
        this.mboundView2 = imageView;
        imageView.setTag(null);
        ImageView imageView2 = (ImageView) objArr[3];
        this.mboundView3 = imageView2;
        imageView2.setTag(null);
        ImageView imageView3 = (ImageView) objArr[4];
        this.mboundView4 = imageView3;
        imageView3.setTag(null);
        ImageView imageView4 = (ImageView) objArr[5];
        this.mboundView5 = imageView4;
        imageView4.setTag(null);
        ImageButton imageButton = (ImageButton) objArr[6];
        this.mboundView6 = imageButton;
        imageButton.setTag(null);
        setRootTag(view);
        this.mCallback89 = new OnClickListener(this, 6);
        this.mCallback87 = new OnClickListener(this, 4);
        this.mCallback86 = new OnClickListener(this, 3);
        this.mCallback84 = new OnClickListener(this, 1);
        this.mCallback88 = new OnClickListener(this, 5);
        this.mCallback85 = new OnClickListener(this, 2);
        invalidateAll();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void invalidateAll() {
        synchronized (this) {
            this.mDirtyFlags = 32;
        }
        requestRebind();
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean hasPendingBindings() {
        synchronized (this) {
            if (this.mDirtyFlags != 0) {
                return true;
            }
            return false;
        }
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean setVariable(int i, Object obj) {
        if (170 == i) {
            setStatus((Integer) obj);
        } else if (128 == i) {
            setOfficialImg((String) obj);
        } else if (59 == i) {
            setEngagementImg((String) obj);
        } else if (85 == i) {
            setImgCover((String) obj);
        } else if (34 != i) {
            return false;
        } else {
            setClick((PiazzaAppointmentFragment.OnClick) obj);
        }
        return true;
    }

    @Override // com.grass.p019lv.databinding.FragmentAppointmentPiazzaBinding
    public void setStatus(Integer num) {
        this.mStatus = num;
        synchronized (this) {
            this.mDirtyFlags |= 1;
        }
        notifyPropertyChanged(170);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.FragmentAppointmentPiazzaBinding
    public void setOfficialImg(String str) {
        this.mOfficialImg = str;
        synchronized (this) {
            this.mDirtyFlags |= 2;
        }
        notifyPropertyChanged(128);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.FragmentAppointmentPiazzaBinding
    public void setEngagementImg(String str) {
        this.mEngagementImg = str;
        synchronized (this) {
            this.mDirtyFlags |= 4;
        }
        notifyPropertyChanged(59);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.FragmentAppointmentPiazzaBinding
    public void setImgCover(String str) {
        this.mImgCover = str;
        synchronized (this) {
            this.mDirtyFlags |= 8;
        }
        notifyPropertyChanged(85);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.FragmentAppointmentPiazzaBinding
    public void setClick(PiazzaAppointmentFragment.OnClick onClick) {
        this.mClick = onClick;
        synchronized (this) {
            this.mDirtyFlags |= 16;
        }
        notifyPropertyChanged(34);
        super.requestRebind();
    }

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public void executeBindings() {
        long j;
        synchronized (this) {
            j = this.mDirtyFlags;
            this.mDirtyFlags = 0;
        }
        Integer num = this.mStatus;
        String str = this.mOfficialImg;
        String str2 = this.mEngagementImg;
        String str3 = this.mImgCover;
        PiazzaAppointmentFragment.OnClick onClick = this.mClick;
        long j2 = j & 33;
        int i = 0;
        if (j2 != 0) {
            boolean z = ViewDataBinding.safeUnbox(num) == 0;
            if (j2 != 0) {
                j |= z ? 128 : 64;
            }
            if (!z) {
                i = 8;
            }
        }
        long j3 = 34 & j;
        long j4 = 36 & j;
        long j5 = j & 40;
        if ((j & 32) != 0) {
            this.imgUserHead.setOnClickListener(this.mCallback84);
            this.mboundView2.setOnClickListener(this.mCallback85);
            this.mboundView3.setOnClickListener(this.mCallback86);
            this.mboundView4.setOnClickListener(this.mCallback87);
            this.mboundView5.setOnClickListener(this.mCallback88);
            this.mboundView6.setOnClickListener(this.mCallback89);
        }
        if (j5 != 0) {
            PiazzaAppointmentFragment.setMineHead(this.imgUserHead, str3);
        }
        if (j3 != 0) {
            PiazzaAppointmentFragment.setOfficial(this.mboundView4, str);
        }
        if (j4 != 0) {
            PiazzaAppointmentFragment.setEngagement(this.mboundView5, str2);
        }
        if ((j & 33) != 0) {
            this.mboundView6.setVisibility(i);
        }
    }

    @Override // com.grass.p019lv.generated.callback.OnClickListener.Listener
    public final void _internalCallbackOnClick(int i, View view) {
        boolean z = true;
        switch (i) {
            case 1:
                PiazzaAppointmentFragment.OnClick onClick = this.mClick;
                if (onClick == null) {
                    z = false;
                }
                if (z) {
                    onClick.userInfo();
                    return;
                }
                return;
            case 2:
                PiazzaAppointmentFragment.OnClick onClick2 = this.mClick;
                if (onClick2 == null) {
                    z = false;
                }
                if (z) {
                    onClick2.goMessage();
                    return;
                }
                return;
            case 3:
                PiazzaAppointmentFragment.OnClick onClick3 = this.mClick;
                if (onClick3 == null) {
                    z = false;
                }
                if (z) {
                    onClick3.Fiction();
                    return;
                }
                return;
            case 4:
                PiazzaAppointmentFragment.OnClick onClick4 = this.mClick;
                if (onClick4 == null) {
                    z = false;
                }
                if (z) {
                    onClick4.officialArea();
                    return;
                }
                return;
            case 5:
                PiazzaAppointmentFragment.OnClick onClick5 = this.mClick;
                if (onClick5 == null) {
                    z = false;
                }
                if (z) {
                    onClick5.engagementArea();
                    return;
                }
                return;
            case 6:
                PiazzaAppointmentFragment.OnClick onClick6 = this.mClick;
                if (onClick6 == null) {
                    z = false;
                }
                if (z) {
                    onClick6.sendDynamic();
                    return;
                }
                return;
            default:
                return;
        }
    }
}
